/*
 * @Author: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @Date: 2022-10-18 11:28:27
 * @LastEditors: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @LastEditTime: 2022-10-19 19:57:02
 * @FilePath: \实训二——宏业找房\app\demo\src\api\agent.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// 经纪人
import { getUrl, deleteUrl, putUrl, postUrl } from "../utils/request";
// 获取经纪人数据
export const httpGetInformation = async (url, params) => await postUrl(url, params);
// 删除经纪人数据
export const httpDelInformation = async (url, params) => await deleteUrl(url, params);
// 添加经纪人数据
export const httpAddInformation = async (url, params) => await putUrl(url, params);
// 编辑经纪人数据
export const httpEditInformation = async (url, params) => await postUrl(url, params);
// 改变状态
export const httpChangeStatus = async (url, params) => await postUrl(url, params);
